-- GENERATED SPELL FOR [Warpwood Moss Flayer] --


function spell0_7100(pUnit, Event) --@Entangling Roots,n/a--
pUnit:FullCastSpellOnTarget(11922,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7100', 16500, 1)
end

function Sorts_7100(pUnit, Event)
local choix_sorts_7100 = math.random(0, 0)
if choix_sorts_7100 == 0 then
pUnit:RegisterEvent('spell0_7100', 1, 1)
end
end

function mob7100_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7100', math.random(1500, 3000), 1)
end

function mob7100_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7100_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7100_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7100, 1, 'mob7100_Action')
RegisterUnitEvent(7100, 2, 'mob7100_Leave')
RegisterUnitEvent(7100, 3, 'mob7100_Kill')
RegisterUnitEvent(7100, 4, 'mob7100_Die')
